<?php

namespace App\Model\DesignPattern\Creational\Behavioral\Visitor;

class Monkey implements Animal
{
    public function shout()
    {
        echo 'Ooh oo aa aa!';
    }

    public function accept(AnimalOperation $animalOperation)
    {
        $animalOperation->visitMonkey($this);
    }
}
